import { BrowserInfo } from './BrowserInfo.js'
let Browser = BrowserInfo()
export const apiUrl = function() {
  let api="http://"+Browser.apiUrl;
  var json = {
    AndroidIndex:'quanclubs://app/market?launchUrl='+api, // 安卓集市首页地址'
    IphoneIndex:'quanclubs://ActionMarket/pushMarketViewController',  // 苹果集市商品详情页地址
    AndroidDetail:'quanclubs://app/marketNews',// 外部跳转安卓集市IM页面
    IphoneDetail:'quanclubs://ActionMarket/pushMarketViewController?url=http://'+Browser.apiUrl+'/marketIndex&pushConversationList=1',   
  } 
  return json;
}